package com.weichen.studentgameexchange.member.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author 惟尘
 * @since 2025-01-28
 */
@Component
@Data
@ToString
@TableName("graduation_time")
@Schema(name="GraduationTime对象", description="")
public class GraduationTime implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(defaultValue = "毕业时间主键")
    @TableId(value = "graduation_time_id", type = IdType.AUTO)
    private Long graduationTimeId;

    @Schema(defaultValue = "入学时间")
    @TableField(value = "time_of_enrollment")
    private LocalDate timeOfEnrollment;

    @Schema(defaultValue = "毕业时间")
    @TableField(value = "graduation_time")
    private LocalDate graduationTime;


}
